﻿using Abp.Application.Services;
using FwProject.Com.Dto;
using FwProject.ShopApplication;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace FwProject.Com
{
    public interface IFeedbackAppService : IApplicationService
    {

        /// <summary>
        /// 用户反馈问题
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task CreateFeedback(FeedbackInput input);
        #region 后台管理

        /// <summary>
        /// 后台管理-获取Layui数据
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="filter"></param>
        /// <returns></returns>
        Task<LayerDataBaseDto> GetFeedbackLayerDataAsync(int page, int limit, FeedbackFilter filter);

        /// <summary>
        /// 后台管理-获取实体
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<FeedbackOutputDto> GetEntityAsync(Guid id);

        /// <summary>
        /// 后台管理-删除
        /// </summary>
        /// <param name=""></param>
        /// <returns></returns>
        Task DeleteAsync(Guid id);
        #endregion
    }
}
